package com.topisv.tms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.web.dto.BackupTaskDTO;

@Entity
@Table(name = "backup_task_sku")
public class BackupTaskSku extends IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String skuName;//商品名称
	private String skuString;//商品属性
	public String getSkuString() {
		return skuString;
	}
	public void setSkuString(String skuString) {
		this.skuString = skuString;
	}
	public String getSkuName() {
		return skuName;
	}
	public void setSkuName(String skuName) {
		this.skuName = skuName;
	}

	private BackupTaskDTO backupTaskDTO;
	
	private String stockLists;

	@Column(name="stock_lists")
	public String getStockLists() {
		return stockLists;
	}
	public void setStockLists(String stockLists) {
		this.stockLists = stockLists;
	}
	@Transient
	public BackupTaskDTO getBackupTaskDTO() {
		return backupTaskDTO;
	}
	public void setBackupTaskDTO(BackupTaskDTO backupTaskDTO) {
		this.backupTaskDTO = backupTaskDTO;
	}

	private int pickQty;
	private String pickStatus;
	@Column(name="pick_status")
	public String getPickStatus() {
		return pickStatus;
	}
	public void setPickStatus(String pickStatus) {
		this.pickStatus = pickStatus;
	}
	@Column(name="pick_qty")
	public int getPickQty() {
		return pickQty;
	}
	public void setPickQty(int pickQty) {
		this.pickQty = pickQty;
	}
	
	private String batchTaskCode;// varchar(20) NOT NULL COMMENT '批次任务编号',
	@Column(name="batch_task_code")
	public String getBatchTaskCode() {
		return batchTaskCode;
	}
	public void setBatchTaskCode(String batchTaskCode) {
		this.batchTaskCode = batchTaskCode;
	}
	private String backupTaskCode;// varchar(20) NOT NULL COMMENT '备货任务编号',
	private String  skuId;// varchar(64) NOT NULL COMMENT '商品编号',  
	private int  realQty;// int(11) default 0 COMMENT '商品数量',       
	private int  checkQty ;//int(11) default 0 COMMENT '扫描商品数量',   
	@Column(name="backup_task_code")
	public String getBackupTaskCode() {
		return backupTaskCode;
	}
	public void setBackupTaskCode(String backupTaskCode) {
		this.backupTaskCode = backupTaskCode;
	}
	@Column(name="sku_id")
	public String getSkuId() {
		return skuId;
	}
	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}
	@Column(name="real_qty")
	public int getRealQty() {
		return realQty;
	}
	public void setRealQty(int realQty) {
		this.realQty = realQty;
	}
	@Column(name="check_qty")
	public int getCheckQty() {
		return checkQty;
	}
	public void setCheckQty(int checkQty) {
		this.checkQty = checkQty;
	}
	public String getReserve() {
		return reserve;
	}
	public void setReserve(String reserve) {
		this.reserve = reserve;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	private String  reserve ;//varchar(64) DEFAULT NULL COMMENT '备用字段',    
	private String  status;// varchar(64) DEFAULT NULL COMMENT '状态',  

}
